package com.highspeed.bdk.controller.deploy;


import com.highspeed.bdk.bean.entity.deploy.Server;
import com.highspeed.bdk.controller.base.BdkCrudController;
import com.highspeed.bdk.service.base.IBdkBaseService;
import com.highspeed.bdk.service.deploy.IServerService;
import io.swagger.annotations.Api;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping(value = "server", method = RequestMethod.POST)
@Api(tags = "连接服务器")
public class ServerController extends BdkCrudController<Server, Integer> {

    @Autowired
    private IServerService serverService;

    @Override
    protected IBdkBaseService<Server, Integer> getService() {
        return serverService;
    }
}
